#include "mylib/include/mystdio.h"
#include "mylib/include/mymath.h"
#include <stdio.h>
#include <string.h>

int main()
{
  int a = 10;
  int b = 20;

  printf("%d + %d = %d\n", a, b, myAdd(a, b));

  myFILE *fp = my_fopen("./myfile.txt", "w");
  if(fp == NULL)
  {
    return 1;
  }

  const char* message = "yitiaoxiaoxi..................\n";

  my_fwrite(fp, message, strlen(message));
  my_close(fp);

  return 0;
}

